package com.sykj.qianxuezhan.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sykj.qianxuezhan.bean.Shop;
import com.sykj.qianxuezhan.bean.ShopPost;
import com.sykj.qianxuezhan.bean.ShopUser;
import com.sykj.util.reponse.ResultBody;

import java.util.List;

/**
 * @Author QianXuezhan
 * @Date 2020/7/19 15:20
 * @Description: TODO
 */

public interface ShopService  extends IService<Shop> {

    /**
     * @Date:
     * @Description:  查询所有综合查询店铺信息
     **/
    List<Shop> queryShop();

    /**
     * @Date:
     * @Description:  修改店铺信息
     **/
    ResultBody updateShop(Shop shop);

    /**
     * @Date:
     * @Description: 添加店铺信息
     **/
    ResultBody saveShop(Shop shop);

    //通过店主账户查询店主id和姓名
    ShopUser  queryShopUserAcc(String account);


}
